//
//  CommonHandtitleView.h
//  jujiaxin
//
//  Created by 刘应平 on 16/11/17.
//  Copyright © 2016年 刘应平. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CommonHandtitleView;

/**  添加协议  */
@protocol commonHandTitleViewDelegate <NSObject>
/**  协议方法  */
- (void)titleScrollView:(CommonHandtitleView *)commonHandtitleView buttonTag:(NSInteger)buttonTag;


@end
@interface CommonHandtitleView : UIScrollView
- (instancetype)initWithFrame:(CGRect)frame handTitles:(NSArray *)handtitles choose:(NSInteger)choose;
@property (nonatomic, strong) NSArray *handTitles;
@property (nonatomic, assign) id<commonHandTitleViewDelegate> commonHandDelegate;
/**  button的改变方法  */
- (void)layoutButtonWithIndex:(NSInteger)index;


@end
